package alt.fr.ma.np.activities;

import alt.fr.ma.np.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.Window;
import android.widget.ImageView;
import android.widget.TextView;

public class CustomTitleActivity extends Activity {

	protected TextView title;
    protected ImageView profile;
 
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
 
        requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
 
        setContentView(R.layout.main);
 
        getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_title);
 
        title = (TextView) findViewById(R.id.title);
        profile = (ImageView) findViewById(R.id.profile);
    }
}
